From 866cfd2c229d58f7ba368af04359291aeb4ff436 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 5 Jan 2011 09:52:54 +0000 Subject: [PATCH] x86 hvm: Add a missing line to record the type passed into register_io_handler() Add a missing line to record the type passed into register_io_handler() Without this line, the BUFFERED_IO handler was never called. Signed-off-by: Wei Gang --- xen/arch/x86/hvm/intercept.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/hvm/intercept.c b/xen/arch/x86/hvm/intercept.c index 6ce49b6ad8..54f0f8cc17 100644 --- a/xen/arch/x86/hvm/intercept.c +++ b/xen/arch/x86/hvm/intercept.c @@ -238,6 +238,7 @@ void register_io_handler( handler->hdl_list[num].addr = addr; handler->hdl_list[num].size = size; handler->hdl_list[num].action.ptr = action; + handler->hdl_list[num].type = type; handler->num_slot++; } -- 2.30.2